package com.flida.echart.basic.system.service.impl;

import com.flida.echart.basic.api.system.entity.NodeAttr;
import com.flida.echart.basic.system.dao.NodeAttrDao;
import com.flida.echart.basic.system.service.INodeAttrService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("nodeAttrService")
public class NodeAttrServiceImpl implements INodeAttrService {
    @Autowired
    private NodeAttrDao nodeAttrDao;


    public int deleteByPrimaryKey(String id) {

        return nodeAttrDao.deleteByPrimaryKey(id);
    }


    public int insert(NodeAttr record) {

        return nodeAttrDao.insert(record);
    }


    public int insertSelective(NodeAttr record) {

        return nodeAttrDao.insertSelective(record);
    }


    public NodeAttr selectByPrimaryKey(String id) {

        return nodeAttrDao.selectByPrimaryKey(id);
    }


    public int updateByPrimaryKeySelective(NodeAttr record) {

        return nodeAttrDao.updateByPrimaryKeySelective(record);
    }


    public int updateByPrimaryKeyWithBLOBs(NodeAttr record) {

        return nodeAttrDao.updateByPrimaryKeyWithBLOBs(record);
    }


    public int updateByPrimaryKey(NodeAttr record) {

        return nodeAttrDao.updateByPrimaryKey(record);
    }

}
